/*
 * @Author: zi.yang
 * @Date: 2022-02-07 11:07:38
 * @LastEditors: zi.yang
 * @LastEditTime: 2022-02-07 23:17:33
 * @Description: In User Settings Edit
 * @FilePath: \api-generator\app\extend\context.js
 */
'use strict';


// const RE_RENDER = Symbol('Context#reRender');
const dayjs = require('dayjs');

// const i = 0;
module.exports = {
  get uploadPath() {
    const date = dayjs().format('YYYY-MM-DD');
    return `${this.app.config.upload_path}/${date}`;
  },
};
